//
//  MapTransitRouteListController.h
//  TMapDemo
//
//  Created by zhaoxibo on 13-5-28.
//
//

#import <UIKit/UIKit.h>
#import "TTransitRoute.h"

@protocol MapTransitRouteListDelegate <NSObject>
@required
- (void)MapTransitRouteListController:(id)sender selectLine:(TTransitRouteLine *)pLine AtIndex:(int)iIndex;
@end

@interface MapTransitRouteListController : UIViewController {
    TTransitRouteResult *_pTransitRouteResult;
}
@property(retain, nonatomic) IBOutlet UITableView *_tableView;
@property(retain, nonatomic) TTransitRouteResult *pTransitRouteResult;
@property(nonatomic, assign) id <MapTransitRouteListDelegate> _delegate;

- (NSString *)getWalkDescriptionWithIndex:(NSInteger)iIndex routeLine:(TTransitRouteLine *)pLine;

- (NSString *)getBusDescriptionWithIndex:(NSInteger)iIndex routeLine:(TTransitRouteLine *)pLine;

- (NSString *)getSubwayTransferDescriptionWithIndex:(NSInteger)iIndex routeLine:(TTransitRouteLine *)pLine;

- (NSString *)getOtherSegmentLineName:(TTransitRouteSegment *)pSegment;
@end
